/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session02;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author macbookpro
 */
public class Join_isAlive_Thread extends Thread {

    public void run() {
        for (int i = 1; i < 10; i++) {
            try {
                Thread.sleep(100);
            } catch (InterruptedException ex) {
                Logger.getLogger(Join_isAlive_Thread.class.getName()).log(Level.SEVERE, null, ex);
            }
            System.out.println(i + ". Thread running");
        }
    }
}
